# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=py3-pyyaml-env-tag
pkgver=0.1
pkgrel=4
pkgdesc="a custom YAML tag for referencing environment variables in YAML files"
url="https://github.com/waylan/pyyaml-env-tag"
arch="noarch"
license="MIT"
depends="python3 py3-yaml"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/p/pyyaml_env_tag/pyyaml_env_tag-$pkgver.tar.gz"
builddir="$srcdir/pyyaml_env_tag-$pkgver"

build() {
	python3 setup.py build
}

check() {
	pytest
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
7d3dbc08fb338b3de5bbe657fa8a98a330d7ac7962ac2ea6513ade362b36deaaad8d9e82eb018454d73fd26d90003861a3ffee9abc2e9ac51dea4ba315b5c1f9  pyyaml_env_tag-0.1.tar.gz
"
